canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Canvas hinter dem restlichen Inhalt */
    pointer-events: none
}

body {
    font-family: 'Helvetica Neue', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
}

header { 
    text-align: center;
    color: black; 
    padding: 1em 0; 
}

.home-button {
    background-color: transparent;
    display: inline-block;
    margin: 0 auto;
    text-align: center;
    padding: 10px 20px;
    color: black;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 5px;
    cursor: pointer;
    pointer-events: auto;
    border: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.home-button:hover {
    text-decoration: underline;
}

.fullscreen-text {
    display: flex;
    justify-content: center;
    height: 30vh;
    background-color: transparent;
    padding: 5vw;
}

.fullscreen-text.left {
    justify-content: flex-start;
}

.fullscreen-text.right {
    justify-content: flex-end;
    margin-bottom: 40vh; /* Viewport-basiert statt feste 600px */
}

.fullscreen-text h2 {
    font-size: 35vw;
    color: black;
    margin: 0;
    padding: 0;
    line-height: 1;
    width: 80vw;
}

.fullscreen-text2 {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 0;
}

.fullscreen-text2.center {
    justify-content: center;
    align-items: center;
}

.fullscreen-text2.lower { 
    margin-top: 50vh;
}

.fullscreen-text2 h3 {
    font-size: 10vw;
    color: black;
    margin: 0;
    padding: 0;
    line-height: 1;
    width: 10vw;
    text-align: center;
}

.accordion-header {
    cursor: pointer;
    font-size: 2rem;
    padding: 10px 0;
    background-color: transparent;
    border-bottom: 0px solid #ddd;
    display: inline-block;
    width: auto;
}

.accordion-content {
    display: none;
    width: 100vw;
    text-align: left;
    padding: 15px;
    background-color: #ffffff;
    border: 0px solid #ddd;
    box-sizing: border-box;
    margin: 0;
}

.accordion-content p {
    margin: 0;
    padding: 0;
    font-size: 1rem;
    color: #000000;
}

/* Media Queries für Tablet und Mobile */

/* Tablet (Portrait und kleinere Laptops) */
@media screen and (max-width: 1024px) {
    .fullscreen-text.right {
        margin-bottom: 30vh;
    }
    
    .fullscreen-text h2 {
        font-size: 32vw;
    }
    
    .fullscreen-text {
        padding: 3vw;
    }
}

/* Mobile (Landscape) */
@media screen and (max-width: 768px) {
    .fullscreen-text.right {
        margin-bottom: 20vh;
    }
    
    .fullscreen-text h2 {
        font-size: 30vw;
        width: 85vw;
    }
    
    .fullscreen-text {
        height: 25vh;
        padding: 2vw;
    }
    
    header {
        padding: 0.5em 0;
    }
}

/* Mobile (Portrait - Smartphones) */
@media screen and (max-width: 480px) {
    .fullscreen-text.right {
        margin-bottom: 15vh;
    }
    
    .fullscreen-text h2 {
        font-size: 28vw;
        width: 90vw;
    }
    
    .fullscreen-text {
        height: 20vh;
        padding: 2vw;
    }
    
    .home-button {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
    
    .accordion-header {
        font-size: 1.5rem;
    }
}

/* Sehr kleine Smartphones */
@media screen and (max-width: 360px) {
    .fullscreen-text.right {
        margin-bottom: 10vh;
    }
    
    .fullscreen-text h2 {
        font-size: 25vw;
        width: 92vw;
    }
    
    .fullscreen-text {
        height: 18vh;
    }
}

